<?php if (!defined('LEGAL_INNER_USE')){die('ILLEGAL USING!');}?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?= HTML_PARAMS; ?>>
<head>
	<title><?= meta_get_title(MAIN_PAGE)?></title>
	<link rel="stylesheet" type="text/css" href="<?= HTTP_TMP?>css/stylesheet.css" />
	<script type='text/javascript' src='<?= HTTP_TMP?>js/jquery.js'></script>
	<script type='text/javascript' src='<?= HTTP_TMP?>js/functions.js'></script>
	<!--
	<script type='text/javascript' src='<?= HTTP_TMP?>js/jform.js'></script>
	-->
	<?php
	$page_js = 'js/'.MAIN_PAGE.'.js';
	if (file_exists(ROOT_TMP.$page_js)){
		echo "<script type='text/javascript' src='".HTTP_TMP.$page_js."'></script>";
	}
	$page_css = 'css/'.MAIN_PAGE.'.css';
	if (file_exists(ROOT_TMP.$page_css)){
		echo '<link rel="stylesheet" type="text/css" href="'.HTTP_TMP.$page_css.'" />';
	}
	?>
</head>
<body id="body_<?= MAIN_PAGE?>">